<?php
/**
 * Created by PhpStorm.
 * User: ysfl
 * Date: 2015/11/20
 * Time: 21:12
 * 注册页面视图设置
 */

namespace app\gwbn\views;


use Cross\MVC\View;

class RegisterView extends View
{
    function index($data)
    {
        //  使用app/templates/register.layer.php这个layer模板
        $this->set(array(
            'layer' => 'register'
        ));

        //  使用app/templates/user/register.tpl.php视图
        $this->renderTpl('user/register', $data);
    }
}